<#include "../common/head.ftl" />
<#include "../common/page.ftl" />
<!DOCTYPE html>
<html>
	<@comme_head />
	<@comme_table/>
<head lang="en">
    <meta charset="UTF-8">
    <title>用户信息列表</title>
</head>
 <script>
  function search(){
    var account =  $("#account").val();
    window.location.href = "/manager/manager_tusers_list?name="+account+"&currentpageno=0";    
  }
 </script>
<body>
<@comme_header />
<div class="main clearfix" id="main">
   <@comme_daohang />
    <div class="right-content">
        <div class="content">
            <div id="container">
                <div class="box-1">
                    <input type="text" placeholder="搜索" class="search" name="account" id="account" value="${name?if_exists}">
                    <b class="fangdajing" onclick="search()"></b>
                </div>
                
                     <a href = "/manager/tusers_edit"><div class="tianjia">添加</div></a>
                
                <table class="zebra">
                    <caption>用户信息表</caption>
                    <thead>
                    <tr>
                        <th>账号</th>
                        <th>密码</th>
                        <th>名字</th>
                        <th>年龄</th>
                        <th>性别</th>
                        <th>电话</th>
                        <th>邮箱</th>
                        <th colspan="2">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                     <#list manager_tusers_list as users>
                    <tr>
                        <td>${users.account!}</td>
                        <td>${users.password!}</td>
                        <td>${users.name!}</td>
                        <td>${users.age!}</td>
                        <td>${users.sex!}</td>
                        <td>${users.phone!}</td>
                        <td>${users.email!}</td>
                        <td><a href = "/manager/tusers_edit?id=${users.id}">修改</a></td>
                        <td><a href = "/manager/manager_del_Tusers?id=${users.id}">删除</a></td>
                    </tr>
                    </#list>
                    <tr>
                      <td colspan="9">
                        <div class="pages">
								<@page pageid="" url="/manager/manager_tusers_list?currentpageno=" />
							</div>
                      </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>